package com.dev.view.tab4;


import android.content.Intent;
import android.support.v4.app.Fragment;
import android.widget.Button;

import com.dev.R;
import com.dev.common.util.GeneratedClassUtils;
import com.dev.view.handler.HandlerActivity;
import com.dev.view.sharedpreferences.SharedPreferencesActivity;

import org.androidannotations.annotations.Click;
import org.androidannotations.annotations.EFragment;
import org.androidannotations.annotations.ViewById;


@EFragment(R.layout.fragment_tab4)
public class FragmentTab4 extends Fragment {

    @Click(R.id.btn_handler)
    public void btnClick() {
        Intent intent = new Intent(getActivity(), GeneratedClassUtils.get(HandlerActivity.class));
        startActivity(intent);
    }

    @Click(R.id.btn_shared)
    public void btnSharedClick() {
        Intent intent = new Intent(getActivity(), GeneratedClassUtils.get(SharedPreferencesActivity.class));
        startActivity(intent);
    }
}
